package org.sdp.pearproject.controller;


import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import org.sdp.pearproject.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: EventsMemberSuperController
 * @Description:
 * @Author: SDP
 * @Date: 2022-08-05
 * @Version: 1.0
 * Table: pear_events_member
 * Comment:
 * 日程-成员表
 */
public class EventsMemberSuperController extends BaseController {
    @Autowired
    EventsMemberService service;

    public Integer addEventsMember(EventsMemberAddRequest request) throws Exception {
        return service.addEventsMember(request);
    }

    public Integer updateEventsMember(EventsMemberUpdateRequest request) throws Exception {
        return service.updateEventsMember(request);
    }

    public Integer deleteEventsMember(EventsMemberDeleteRequest request) throws Exception {
        return service.deleteEventsMember(request);
    }

    public EventsMemberQueryResponse queryEventsMember(EventsMemberQueryRequest request) throws Exception {
        return service.queryEventsMember(request);
    }

    public List<EventsMemberQueryResponse> listEventsMember(EventsMemberQueryRequest request) throws Exception {
        return service.listEventsMember(request);
    }

    public Integer countEventsMember(EventsMemberQueryRequest request) throws Exception {
        return service.countEventsMember(request);
    }

    public BaseStatResponse statEventsMember(EventsMemberQueryRequest request) throws Exception {
        return service.statEventsMember(request);
    }


}
